Skip to main content

openProcesses

Type

function

Summary

Returns the names of processes that have been opened with the open process command, but have not yet exited.

Syntax

the openProcesses
openProcesses()

Description

Use the openProcesses function to find out which processes need to be closed, or to check whether a process is already running before communicating with it.

The list of process names is in the same order used by openProcessIDs function, which is the same order that the processes were opened.

Programs that were not started by LiveCode are not included in the list returned by the openProcesses function.

Examples

the openProcesses
put the openProcesses into processesToClose

Value

NameTypeDescription

return

The openProcesses function returns a list of process names, one per line.

control structure: function

glossary: exit, command, return, process

operator: there is no

command: open process, kill, read from process

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?